package cn.ssm.biz.impl;

import java.util.List;



import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import cn.ssm.biz.BanZhuRenBiz;
import cn.ssm.dao.BanZhuRenMapper;
import cn.ssm.pojo.BanZhuRen;


@Service("BanZhuRenBizImpl")
public class BanZhuRenBizImpl  implements BanZhuRenBiz{

	@Autowired
	@Qualifier("BanZhuRenMapper")
	private BanZhuRenMapper banzhurenMapper;
	@Override
	public List<BanZhuRen> getBanzhurenInfo() {
		// TODO Auto-generated method stub
		return banzhurenMapper.selectBanzhurenInfo();
	}
	@Override
	public int findIdByName(String banZhuRenName) {
		return banzhurenMapper.findIdByName(banZhuRenName);
	}

}
